package com.global.college.api;


/**
 * Created by fu on 2020/2/18.
 * Describe: 请求网络，响应返回的数据对象就是我们所定义的Javabean--T
 */
public class HttpResult<T> {

    public String code;//响应码
    public String msg;//提示信息
    public T result;//自定义的Javabean用泛型来代替,用统一字段retureMap来接收

    //打印
    @Override
    public String toString() {
        return "{" + "code=" + code + '\'' + ",msg=" + msg + '\'' + ",result=" + result + "}";
    }



}
